import request from '@/utils/request'

export function reqLogin(data) {
  return request({
    method: 'post',
    url: '/sys/login',
    data
  })
}
export const reqGetUserInfo = () => request({
  method: 'post',
  url: '/sys/profile'
})
// 获取员工基本信息
export const reqGetUserDetailById = (id) => request({
  url: `/sys/user/${id}`
})

// export function getInfo(token) {

// }

export function logout() {

}
